package com.hzcx.app.simplechat.ui.user.contract;

import android.app.Activity;
import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.bean.UpLoadImgBean;
import com.hzcx.app.simplechat.ui.user.bean.UserInfoBean;

public interface UserInfoContract {

    interface View extends IView {
        void userInfoResult(UserInfoBean data);

        void deleteSuccess();

        void inBlackSuccess();

        void inBlackFail();

        void outBlackSuccess();

        void collectSuccess();

        void upLoadImgSuccess(UpLoadImgBean data);

        void userInfoResultByCode(UserInfoBean data);
    }

    interface Presenter extends IPresenter<View> {
        void getUserInfo(Context context, int id);

        void deleteFriend(Context context, int id);

        void putUserInBlack(Context context, int id);

        void putUserOutBlack(Context context, int id);

        void addChatCollect(Context context, String collectdetail, String collectimage, int member_id);

        void upLoadImg(Activity activity, String url);

        void getUserInfoByQrCode(Context context, String url);
    }

}
